package design.pattern.抽象工厂模式;

public class AmdCpu implements Cpu {

    private String name = "英伟达CPU";

    private int cpuHoles; //针脚数

    AmdCpu(int cpuHoles){
        this.cpuHoles = cpuHoles;
    }

    @Override
    public void create() {
        System.out.println(name + "针脚数: " + cpuHoles);
    }
}
